PHY CLOTH RAY CAST HIT VERTEX

Find out which vertex a ray cast hit on a cloth object.

  Syntax
Return Integer=PHY CLOTH RAY CAST HIT VERTEX(ID)
  Parameters
ID
Integer
identification number of the cloth object

  Returns

vertex index

  Description

When a ray cast operation has been performed on a cloth object then certain information is stored to one side. To access that data you can use the informational commands such as phy cloth ray cast hit vertex. In the case of this command it returns the vertex index that the ray cast hit.

  Example Code
No example code is provided for this command